<html>

<head>
    <!-- include js packages -->
    <jsp:include page="js/mess/mess.jsp" flush="true" />


    <!-- include css theme -->
    <jsp:include page="style/themes/default/default.jsp" />

</head>


<body class="messBody" style="height: 200px;"></body>


</html>

<script type="text/javascript">

    var GLOBAL_THEME = "default";
    var eventUtil = new MessEventUtil();


    var main1 = new Panel(document.body, true);


    var op0 = main1.addPanel(new Panel(main1, false, 200));
    op0.setMinWidth(100);
    op0.setMaxWidth(500);


    var op1 = main1.addPanel(new Panel(main1, false));


    var op0Win = new Window("Window Left");
    op0.setControl(op0Win);

    var op1win = new Window("Window Top");
    op1.setControl(op1win);


    var tree1 = new MSTreeViewControl();
            
    var br1 = tree1.addControl(new MSTreeViewElement());
        br1.addControl(new MSTreeViewElement());
        br1.addControl(new MSTreeViewElement());
        br1.addControl(new MSTreeViewElement());
        br1.addControl(new MSTreeViewElement());


    var cbr1 = br1.addControl(new MSTreeViewElement());
        cbr1.addControl(new MSTreeViewElement());
        cbr1.addControl(new MSTreeViewElement());
    var gbr1 = cbr1.addControl(new MSTreeViewElement());
        gbr1.addControl(new MSTreeViewElement());
        gbr1.addControl(new MSTreeViewElement());

    var gbr1 = cbr1.addControl(new MSTreeViewElement());
        gbr1.addControl(new MSTreeViewElement("commercial"));
        gbr1.addControl(new MSTreeViewElement("user manager"));


    var cbr1 = br1.addControl(new MSTreeViewElement());
        cbr1.addControl(new MSTreeViewElement());
        cbr1.addControl(new MSTreeViewElement());
    var gbr1 = cbr1.addControl(new MSTreeViewElement());
        gbr1.addControl(new MSTreeViewElement());
        gbr1.addControl(new MSTreeViewElement());

    var gbr1 = cbr1.addControl(new MSTreeViewElement());
        gbr1.addControl(new MSTreeViewElement());
        gbr1.addControl(new MSTreeViewElement());

    op0Win.setControl(tree1);


    document.body.appendChild(main1.render());


</script>


<%--


var main1 = new Panel(document.body, true);

    var op0 = main1.addPanel(new Panel(main1, false, 150));
        op0.setMinWidth(150);
        op0.setMaxWidth(200);


    var op1 = main1.addPanel(new Panel(main1, false));
        //
        var p1 = op1.addPanel(new Panel(op1, true));
        var p2 = op1.addPanel(new Panel(op1, true, 150));
            p2.setMinHeight(100);
            p2.setMaxHeight(200);
        //


    var op2 = main1.addPanel(new Panel(main1, false, 200));
        op2.setMinWidth(150);
        op2.setMaxWidth(200);


var op0Win = new Window("Window Left");
op0.setControl(op0Win);

var p1win = new Window("Window Top");
p1.setControl(p1win);

var win1 = new Window("Window Bottom");
p2.setControl(win1);


var op2winMain = new Window("Main Right Win.");
    op2.setControl(op2winMain);

     var op2winMainPanel = op2winMain.setControl( new Panel(op2winMain, true) );
         //
         var op21 = op2winMainPanel.addPanel(new Panel(op2winMainPanel, true));
         var op22 = op2winMainPanel.addPanel(new Panel(op2winMainPanel, true));
         //var op23 = op2winMainPanel.addPanel(new Panel(op2winMainPanel, true));
         //var op24 = op2winMainPanel.addPanel(new Panel(op2winMainPanel, true));

    var op21win = new Window("Window Right 1", "Cyan");
    op21.setControl(op21win);
    var op22win = new Window("Window Right 2", "Cyan");
    op22.setControl(op22win);
    //var op23win = new Window("Window Right 3", "Cyan");
    //op23.setControl(op23win);
    //var op24win = new Window("Window Right 4", "Cyan");
    //op24.setControl(op24win);


var tree1 = new MSTreeViewControl();
    var br1 = tree1.addControl( new MSTreeViewElement() );

        br1.addControl( new MSTreeViewElement() );
        br1.addControl( new MSTreeViewElement() );
        br1.addControl( new MSTreeViewElement() );
        br1.addControl( new MSTreeViewElement() );


        var cbr1 = br1.addControl( new MSTreeViewElement() );
            cbr1.addControl( new MSTreeViewElement() );
            cbr1.addControl( new MSTreeViewElement() );
            var gbr1 = cbr1.addControl( new MSTreeViewElement() );
                gbr1.addControl( new MSTreeViewElement() );
                gbr1.addControl( new MSTreeViewElement() );

            var gbr1 = cbr1.addControl( new MSTreeViewElement() );
                gbr1.addControl( new MSTreeViewElement("commercial") );
                gbr1.addControl( new MSTreeViewElement("user manager") );



        var cbr1 = br1.addControl( new MSTreeViewElement() );
            cbr1.addControl( new MSTreeViewElement() );
            cbr1.addControl( new MSTreeViewElement() );
            var gbr1 = cbr1.addControl( new MSTreeViewElement() );
                gbr1.addControl( new MSTreeViewElement() );
                gbr1.addControl( new MSTreeViewElement() );

            var gbr1 = cbr1.addControl( new MSTreeViewElement() );
                gbr1.addControl( new MSTreeViewElement() );
                gbr1.addControl( new MSTreeViewElement() );

op0Win.setControl(tree1);




document.body.appendChild(main1.render());
--%>